package com.example.demo.entity;

import lombok.Data;

@Data
public class collect {

  private int id;
  private int favoriteid;
  private int blogid;
  private blog blog;

  @Override
  public String toString() {
    return "{\"collect\":{"
            + "\"id\":"
            + id
            + ",\"favoriteid\":"
            + favoriteid
            + ",\"blogid\":"
            + blogid
            + ",\"blog\":"
            + blog
            + "}}";

  }
}
